using MediatR;
using SumerCoreDevOps.Domain.Entities;

namespace SumerCoreDevOps.Application.GitTriggers.Commands;

/// <summary>
/// 创建 Git 触发规则命令
/// </summary>
public record CreateGitTriggerRuleCommand(
    long WorkflowId,
    string Name,
    string TriggerType,
    string? BranchPattern,
    string? TagPattern,
    string? PathFilter,
    string? CreatedBy
) : IRequest<GitTriggerRule>;
